from django.utils.translation import ugettext as _
from django.db import models

# Import profiles base class
from multiprofiles.models.core import Profile

# It is mandatory to add postfix 'Profile' to your class name
# ( think it can be changed in future if needed )
class UserProfile(Profile):
    # tell django this model belongs to multiprofiles app
    # ( currently don't know how to do it automatically )
    class Meta:
        app_label = 'multiprofiles'

    # add your custom profile fields there
    likes = models.CharField(_('Some Field'), max_length=30)
    
# It is mandatory to add postfix 'Profile' to your class name
# ( think it can be changed in future if needed )
class AdditionalProfile(Profile):
    # tell django this model belongs to multiprofiles app
    # ( currently don't know how to do it automatically )
    class Meta:
        app_label = 'multiprofiles'

    # add your custom profile fields there
    likes = models.CharField(_('Some Other Field'), max_length=30)